package com.hnjd.controller.utils;

import lombok.Data;

@Data
public class R {
    private Boolean flag;
    private Object data;
    private String message;

    public R(){}

    public R(Boolean flag,String message){
        this.flag = flag;
        this.message = message;
    }

    public R(Boolean flag,Object data,String message){
        this.flag = flag;
        this.data = data;
        this.message = message;
    }
}
